//
//  PersonneJumellageController.h
//  Cabinet
//
//  Created by Florent Montsegur on 31/12/2013.
//
//

#import <Cocoa/Cocoa.h>
#import "Person.h"
#import "ConsultationArrayController.h"
#import "VaccinArrayController.h"

@interface PersonneJumellageController : NSObjectController{
    @private
    
    Person *mPersonne;
    NSMutableArray* mConsultationsAjoutees;
    NSMutableArray* mConsultationsSupprimees;
    NSMutableArray* mVaccinationsAjoutees;
    NSMutableArray* mVaccinationsSupprimees;
}

@property (nonatomic, strong) Person *Personne;
@property (nonatomic, strong) NSMutableArray* Consultations;
@property (nonatomic, strong) NSMutableArray* Vaccinations;
@property (nonatomic, strong) ConsultationArrayController *mConsultationArrayController;
@property (nonatomic, strong) VaccinArrayController *mVaccinArrayController;

-(void)initArrays;

-(void) appliquer;

-(NSArray*) supprimerConsultations;
-(NSArray*) supprimerConsultationsSelectionnees;
-(void) ajouterConsultations:(NSArray*)aConsultations;

-(NSArray*) supprimerVaccinations;
-(NSArray*) supprimerVaccinationsSelectionnees;
-(void) ajouterVaccinations:(NSArray*)aVaccinations;


@end
